<?php


namespace Part25_ResponsibilityChainModel\Code1;


class ConcreteColleague1 extends Colleague
{
    public function send($message)
    {
        echo "同事1发送了信息：$message\n";
        $this->mediator->send($message, $this);
    }

    public function notify($message)
    {
        echo "同事1得到信息：$message\n";
    }
}